import request from '@/utils/request'
export const getImg = (platform) => {
  return request.get('/captcha/image', {
    params: {
      platform
    }
  })
}
export const Submit = (form) => {
  return request.post('/passport/login', {
    form
  })
}
export const Gettext = (form) => {
  return request.post('/captcha/sendSmsCaptcha', {
    form
  })
}
